using UnityEngine;

namespace Galplay {
  internal class ScriptTint : GalScript {
    // 这个Tint要改变的颜色
    public Vector3Int Color { get; }
    // 这个Tint的持续Frame
    public float Frame {get;}
    public ScriptTint(GalScene owner, XmlNode item) : base(owner, item, ScriptType.Tint) {
      Color = XmlNode.ParseVector3Int(item.InnerText);
      Frame = item.GetInt("Frame");
    }

    public override void Execute(GameScenePlayer player) {

    }
  }
}